package com.warm.pump.module.work.mapper.gen;

import com.warm.pump.module.work.bean.po.gen.WorkSubject;
import com.warm.pump.module.work.bean.po.gen.WorkSubjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;

@org.apache.ibatis.annotations.Mapper
public interface WorkSubjectMapper{
    int countByExample(WorkSubjectExample example);

    int deleteByExample(WorkSubjectExample example);
    int deleteByPrimaryKey(@Param("id") Long id);
    int insert(WorkSubject record);

    int insertSelective(WorkSubject record);

    List<WorkSubject> selectByExample(WorkSubjectExample example);
    WorkSubject selectByPrimaryKey(@Param("id") Long id);
    int updateByExampleSelective(@Param("record") WorkSubject record, @Param("example") WorkSubjectExample example);

    int updateByExample(@Param("record") WorkSubject record, @Param("example") WorkSubjectExample example);
    int updateByPrimaryKeySelective(WorkSubject record);

    int updateByPrimaryKey(WorkSubject record);
}
